Skip to content

fix issue with static attributes in the current tutorial requests#11

Open
butteronarchbtw wants to merge 2 commits intoFIWARE:NGSI-v2from
butteronarchbtw:NGSI-v2
Open

fix issue with static attributes in the current tutorial requests#11
butteronarchbtw wants to merge 2 commits intoFIWARE:NGSI-v2from
butteronarchbtw:NGSI-v2

Conversation

@butteronarchbtw
Copy link

The current tutorial requests have an issue that if you execute them one by one, the static attributes don't get included into the device entity in the context broker, which makes them not query-able.

This is mentioned in an issue on the iotagent-json repo: telefonicaid/iotagent-json#835.

The solution is to either set the service group entity_type to match the entity_type of the device when provisioned (which is what I've done for now) or to also include the service's apikey for the device when provisioning the device (which I've not included by now).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant